package com.cgwx.aop.exception;

public class AuthException extends RuntimeException{
    private Integer code;
    private String message;

    public AuthException(int code, String message) {
        super(message);
        this.code=code;
    }


    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

}
